'use strict';

import * as types from '../Commom/ActionConst';

const initialState = {
  dataWith: null,
};

export default function showClose(state = initialState, action) {
  // console.log('BackRefreshReducer',action);
  switch (action.type) {
    case types.SHOW_CLOSE: 
      return {
        ...state,
        dataWith: action.dataWith,
      };
    default:
      return state;
  }
}